const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})


module.exports = {
  devServer: {
    historyApiFallback: true,
    allowedHosts: "all",
    // port: 80,
  },
  // configureWebpack: {
  //   devtool: process.env.NODE_ENV !== "production" ? "source-map" : '',
  // },
  chainWebpack: config => {
    config.plugin('html').tap(args => {
      args[0].title = 'CIBN应用播控大数据分析'; // 修改 title
      return args;
    });
  }
}